﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="List.ascx.cs" Inherits="UserControls_Gallery_List" %>
<div class="content_layout_right_col01">
                    <div class="box_content_layout_right_col01">
                        <div class="menu_content_layout_right_col01">
                            <div class="box_menu">
                                <div class="box_menu_l"></div>
                                <div class="box_menu_m"><%=this.Lang["MenuGallery"]%></div>
                                <div class="box_menu_r"></div>
                            </div>
                        </div>
                        <div class="box_content">
                        <%if(dt.Rows.Count>0){%>
                            <div class="box_content_left" style="margin-bottom:10px;">
                            <%if (!string.IsNullOrEmpty(dt.Rows[0]["PicThumb"].ToString()))
                              {%>
                            	<img src="<%=bzStringClass.getURLImage("Gallery",dt.Rows[0]["PicThumb"])%>" width="230" class="photo01" /><br />
                            <%} %>    
                                <a href="<%=bzStringClass.Root%>hinh-anh-hoat-dong/<%=dt.Rows[0]["ID"]%>.<%=bzStringClass.encodeTitle(dt.Rows[0]["Title"+this.CurrentLang].ToString())%>.html"><%=dt.Rows[0]["Title"+this.CurrentLang]%></a><br />
                                <span><%=bzStringClass.cutString(Server.HtmlDecode(dt.Rows[0]["Des" + this.CurrentLang].ToString()),150)%></span>
                            </div>
                        <%} %>  
                       <%if (dtHot.Rows.Count > 0)
                         {%>   
                            <div class="box_content_right">
                            <%foreach (System.Data.DataRow drHot in dtHot.Rows)
                              {%>
                                    <a href="<%=bzStringClass.Root%>hinh-anh-hoat-dong/<%=drHot["ID"]%>.<%=bzStringClass.encodeTitle(drHot["Title"+this.CurrentLang].ToString())%>.html"><%=drHot["Title"+this.CurrentLang]%></a><br />
                           <%} %>
                            </div>
                       <%} %>     
                       <%foreach (System.Data.DataRow dr in _dt.Rows)
                         {%>
                            <div class="box_news">
                            <%if (!string.IsNullOrEmpty(dr["PicThumb"].ToString()))
                              {%>
                                <div class="photo_news_gallery"><img src="<%=bzStringClass.getURLImage("Gallery",dr["PicThumb"])%>" /></div>
                            <%} %>    
                                <div class="box_content_news_gallery">
                                    <a href="<%=bzStringClass.Root%>hinh-anh-hoat-dong/<%=dr["ID"]%>.<%=bzStringClass.encodeTitle(dr["Title"+this.CurrentLang].ToString())%>.html"><%=dr["Title"+this.CurrentLang]%></a><br />
                                    <span style="font-size:10px; color:#999;"><%=this.Lang["PostedDate"]%>: (<%=bzStringClass.getStringDate(dr["PostedDate"],this.CurrentLang)%>)</span><br />
                                    <span><%=bzStringClass.cutString(Server.HtmlDecode(dr["Des"+this.CurrentLang].ToString()),150)%></span>
                                </div>
                            </div>   
                       <%} %>     
                            <div id="bzPagination"><%=this.Pagination%></div>
                        </div>
                    </div>
                </div>